import os
import shutil
old_path=r'C:\python-work\第八周'
new_path=r'C:\python-work\第八周\tools\math'
def FindFile(path):
    for ipath in os.listdir(path):
        fulldir=os.path.join(path,ipath)
        print(fulldir)
        if os.path.isfile(fulldir):
            shutil.copy(fulldir,new_path)
FindFile(old_path)
